/external/exoplayer/tree/extensions/av1/src/main/jni/ |
D | gav1_jni.cc | 62 const int kPlaneY = 0; variable 130 for (int plane_index = kPlaneY; plane_index < kMaxPlanes; plane_index++) { in ~JniFrameBuffer() 142 for (int plane_index = kPlaneY; plane_index < decoder_buffer.NumPlanes(); in SetFrameData() 176 for (int plane_index = kPlaneY; plane_index < kMaxPlanes; plane_index++) { in MaybeReallocateGav1DataPlanes() 178 (plane_index == kPlaneY) ? y_plane_min_size : uv_plane_min_size; in MaybeReallocateGav1DataPlanes() 380 for (int plane_index = kPlaneY; plane_index < decoder_buffer->NumPlanes(); in CopyFrameToDataBuffer() 391 for (int plane_index = kPlaneY; plane_index < decoder_buffer->NumPlanes(); in Convert10BitFrameTo8BitDataBuffer() 419 for (int plane_index = kPlaneY; plane_index < kMaxPlanes; plane_index++) { in Convert10BitFrameTo8BitDataBufferNeon() 600 decoder_buffer->displayed_width[kPlaneY], in DECODER_FUNC() 601 decoder_buffer->displayed_height[kPlaneY], in DECODER_FUNC() [all …]
|
/external/libgav1/libgav1/src/ |
D | yuv_buffer.cc | 90 stride_[kPlaneY] = frame_buffer.stride[0]; in Realloc() 93 buffer_[kPlaneY] = frame_buffer.plane[0]; in Realloc() 153 stride_[kPlaneY] = y_stride; in Realloc() 164 buffer_[kPlaneY] = AlignAddr( in Realloc() 176 left_border_[kPlaneY] = left_border; in Realloc() 177 right_border_[kPlaneY] = right_border; in Realloc() 178 top_border_[kPlaneY] = top_border; in Realloc() 179 bottom_border_[kPlaneY] = bottom_border; in Realloc()
|
D | loop_restoration_info.cc | 67 for (int plane = kPlaneY; plane < num_planes; ++plane) { in Reset() 73 const int plane_width = (plane == kPlaneY) in Reset() 77 (plane == kPlaneY) ? height in Reset() 96 for (int plane = kPlaneY; plane < num_planes; ++plane) { in Reset() 173 if (plane != kPlaneY) { in ReadWienerInfo() 177 for (int j = static_cast<int>(plane != kPlaneY); j < kNumWienerCoefficients; in ReadWienerInfo()
|
D | tile.h | 753 residual_size[kPlaneY] = kPlaneResidualSize[size][0][0]; in Block() 757 assert(residual_size[kPlaneY] != kBlockInvalid); in Block() 771 top_available[kPlaneY] = tile.IsTopInside(row4x4); in Block() 772 left_available[kPlaneY] = tile.IsLeftInside(column4x4); in Block() 800 if (top_available[kPlaneY]) { in Block() 804 if (left_available[kPlaneY]) { in Block() 828 return static_cast<int>(top_available[kPlaneY] && in CountReferences() 830 static_cast<int>(top_available[kPlaneY] && in CountReferences() 832 static_cast<int>(left_available[kPlaneY] && in CountReferences() 834 static_cast<int>(left_available[kPlaneY] && in CountReferences() [all …]
|
D | film_grain.cc | 442 noise_stripes_[kPlaneY].Reset(max_luma_num, kNoiseStripeHeight * width_, in AllocateNoiseStripes() 466 !noise_image_[kPlaneY].Reset(height_, width_ + kNoiseImagePadding, in AllocateNoiseImage() 638 /*subsampling_x=*/0, /*subsampling_y=*/0, &noise_stripes_[kPlaneY]); in AddNoise() 659 &noise_stripes_[kPlaneY], width_, height_, /*subsampling_x=*/0, in AddNoise() 661 &noise_image_[kPlaneY]); in AddNoise() 664 &noise_stripes_[kPlaneY], width_, height_, /*subsampling_x=*/0, in AddNoise() 665 /*subsampling_y=*/0, &noise_image_[kPlaneY]); in AddNoise()
|
D | yuv_buffer.h | 101 return (plane == kPlaneY) ? y_width_ : uv_width_; in width() 104 return (plane == kPlaneY) ? y_height_ : uv_height_; in height()
|
D | decoder_impl.cc | 1439 (plane == kPlaneY) ? 0 : sequence_header.color_config.subsampling_x; in DecodeTiles() 1568 displayable_frame->buffer()->data(kPlaneY), in ApplyFilmGrain() 1569 displayable_frame->buffer()->stride(kPlaneY), in ApplyFilmGrain() 1572 (*film_grain_frame)->buffer()->data(kPlaneY), in ApplyFilmGrain() 1573 (*film_grain_frame)->buffer()->stride(kPlaneY), in ApplyFilmGrain() 1590 displayable_frame->buffer()->data(kPlaneY), in ApplyFilmGrain() 1591 displayable_frame->buffer()->stride(kPlaneY), in ApplyFilmGrain() 1594 (*film_grain_frame)->buffer()->data(kPlaneY), in ApplyFilmGrain() 1595 (*film_grain_frame)->buffer()->stride(kPlaneY), in ApplyFilmGrain()
|
D | post_filter.h | 208 return loop_restoration.type[kPlaneY] != kLoopRestorationTypeNone && in DoRestoration() 211 return (loop_restoration.type[kPlaneY] != kLoopRestorationTypeNone || in DoRestoration()
|
D | obu_parser.cc | 924 if (!ParseDeltaQuantizer(&quantizer->delta_dc[kPlaneY])) return false; in ParseQuantizerParameters() 949 quantizer->matrix_level[kPlaneY] = scratch; in ParseQuantizerParameters() 1072 segmentation->qindex[i] == 0 && quantizer->delta_dc[kPlaneY] == 0 && in ComputeSegmentLosslessAndQIndex() 1152 loop_restoration->unit_size[kPlaneY] = in ParseLoopRestorationParameters()
|
D | motion_vector.cc | 870 if (block.top_available[kPlaneY]) { in FindWarpSamples() 895 if (block.left_available[kPlaneY]) { in FindWarpSamples()
|
/external/libgav1/libgav1/src/tile/bitstream/ |
D | mode_info.cc | 135 if (block.top_available[kPlaneY] && block.left_available[kPlaneY]) { in GetUseCompoundReferenceContext() 150 if (block.top_available[kPlaneY]) { in GetUseCompoundReferenceContext() 155 if (block.left_available[kPlaneY]) { in GetUseCompoundReferenceContext() 190 if (block.top_available[kPlaneY] && block.left_available[kPlaneY]) { in ReadSegmentId() 196 if (block.top_available[kPlaneY]) { in ReadSegmentId() 200 if (block.left_available[kPlaneY]) { in ReadSegmentId() 262 if (block.top_available[kPlaneY] && block.bp_top->skip) { in ReadSkip() 265 if (block.left_available[kPlaneY] && block.bp_left->skip) { in ReadSkip() 286 (block.left_available[kPlaneY] in ReadSkipMode() 289 (block.top_available[kPlaneY] ? static_cast<int>(block.bp_top->skip_mode) in ReadSkipMode() [all …]
|
D | transform_size.cc | 73 if (!block.top_available[kPlaneY]) return 64; in GetTopTransformWidth() 86 if (!block.left_available[kPlaneY]) return 64; in GetLeftTransformHeight() 110 block.top_available[kPlaneY] in ReadFixedTransformSize() 114 block.left_available[kPlaneY] in ReadFixedTransformSize()
|
D | palette.cc | 37 (block.top_available[kPlaneY] && Mod64(MultiplyBy4(block.row4x4)) != 0) in GetPaletteCache() 40 const int left_size = block.left_available[kPlaneY] in GetPaletteCache() 143 static_cast<int>(block.top_available[kPlaneY] && in ReadPaletteModeInfo() 146 static_cast<int>(block.left_available[kPlaneY] && in ReadPaletteModeInfo() 156 ReadPaletteColors(block, kPlaneY); in ReadPaletteModeInfo()
|
/external/libgav1/libgav1/src/post_filter/ |
D | cdef.cc | 121 for (int plane = y_plane ? kPlaneY : kPlaneU; plane < max_planes; ++plane) { in PrepareCdefBlock() 195 for (int plane = kPlaneY; plane < planes_; ++plane) { in ApplyCdefForOneUnit() 212 for (int plane = kPlaneY; plane < planes_; ++plane) { in ApplyCdefForOneUnit() 249 uint8_t* cdef_buffer_base = cdef_buffer_row_base[kPlaneY]; in ApplyCdefForOneUnit() 250 const uint8_t* src_buffer_base = src_buffer_row_base[kPlaneY]; in ApplyCdefForOneUnit() 257 const int cdef_stride = cdef_buffer_stride[kPlaneY]; in ApplyCdefForOneUnit() 259 const int src_stride = frame_buffer_.stride(kPlaneY); in ApplyCdefForOneUnit() 304 cdef_buffer_base += column_step[kPlaneY]; in ApplyCdefForOneUnit() 305 src_buffer_base += column_step[kPlaneY]; in ApplyCdefForOneUnit() 313 cdef_buffer_row_base[kPlaneY] += cdef_buffer_row_base_stride[kPlaneY]; in ApplyCdefForOneUnit() [all …]
|
D | super_res.cc | 42 for (int plane = kPlaneY; plane < planes_; ++plane) { in ApplySuperRes() 196 deblock_buffer_.data(kPlaneY) + in SetupDeblockBuffer() 197 row_offset_start * deblock_buffer_.stride(kPlaneY), in SetupDeblockBuffer() 202 std::array<int, kMaxPlanes> strides = {deblock_buffer_.stride(kPlaneY), in SetupDeblockBuffer()
|
D | deblock.cc | 303 const ptrdiff_t src_stride = frame_buffer_.stride(kPlaneY); in HorizontalDeblockFilter() 304 uint8_t* src = GetSourceBuffer(kPlaneY, row4x4_start, column4x4_start); in HorizontalDeblockFilter() 376 const ptrdiff_t row_stride = MultiplyBy4(frame_buffer_.stride(kPlaneY)); in VerticalDeblockFilter() 377 const ptrdiff_t src_stride = frame_buffer_.stride(kPlaneY); in VerticalDeblockFilter() 378 uint8_t* src = GetSourceBuffer(kPlaneY, row4x4_start, column4x4_start); in VerticalDeblockFilter() 506 planes[0] = kPlaneY; in ApplyDeblockFilterThreaded()
|
D | post_filter.cc | 264 for (int plane = kPlaneY; plane < planes_; ++plane) { in ExtendBordersForReferenceFrame() 355 if (!for_loop_restoration && plane == kPlaneY) { in CopyBordersForOneSuperBlockRow()
|
D | loop_restoration.cc | 245 for (int plane = kPlaneY; plane < planes_; ++plane) { in ApplyLoopRestorationThreaded()
|
/external/libgav1/libgav1/src/tile/ |
D | prediction.cc | 254 (plane == kPlaneY && prediction_parameters.use_filter_intra); in IntraPrediction() 394 if (plane == kPlaneY) { in IsSmoothPrediction() 554 buffer_[kPlaneY].rows(), buffer_[kPlaneY].columns() / sizeof(Pixel), in ChromaFromLumaPrediction() 555 reinterpret_cast<Pixel*>(&buffer_[kPlaneY][0][0])); in ChromaFromLumaPrediction() 564 buffer_[kPlaneY].columns()); in ChromaFromLumaPrediction() 683 if (plane == kPlaneY) { in GetWarpParams() 785 if (plane == kPlaneY) { in InterPrediction() 855 if (block.top_available[kPlaneY] && in ObmcPrediction() 889 if (block.left_available[kPlaneY]) { in ObmcPrediction()
|
D | tile.cc | 509 const int max_tx_length = (plane == kPlaneY) ? 64 : 32; 966 if (plane == kPlaneY) { in GetTransformAllZeroContext() 1030 if (plane == kPlaneY) { in ComputeTransformType() 1426 if (plane == kPlaneY) { in ReadTransformCoefficients() 1446 if (plane == kPlaneY) { in ReadTransformCoefficients() 1626 (plane == kPlaneY) in TransformBlock() 1643 if (plane != kPlaneY && bp.uv_mode == kPredictionModeChromaFromLuma) { in TransformBlock() 1648 if (plane == kPlaneY) { in TransformBlock() 1725 if (!TransformBlock(block, kPlaneY, node.x, node.y, node.tx_size, 0, 0, in TransformTree() 1804 (plane == kPlaneY) ? bp.transform_size : bp.uv_transform_size; in Residual() [all …]
|
/external/libgav1/libgav1/src/utils/ |
D | constants.h | 184 enum Plane : uint8_t { kPlaneY, kPlaneU, kPlaneV }; enumerator 185 enum : uint8_t { kMaxPlanesMonochrome = kPlaneY + 1, kMaxPlanes = kPlaneV + 1 };
|
D | common.h | 304 return MultiplyBy4(row_or_column4x4) >> (plane == kPlaneY ? 0 : subsampling); in RowOrColumn4x4ToPixel() 308 return static_cast<PlaneType>(plane != kPlaneY); in GetPlaneType()
|
/external/libgav1/libgav1/src/dsp/ |
D | film_grain.cc | 516 int noise = noise_image[kPlaneY][y + start_height][x]; in BlendNoiseWithImageLuma_C()
|
/external/libgav1/libgav1/src/dsp/arm/ |
D | film_grain_neon.cc | 720 GetSignedSource8(&(noise_image[kPlaneY][y + start_height][x])); in BlendNoiseWithImageLuma_NEON()
|